Skip to main content
PUT
/
api
/
v1
/
flocks
/
{flockId}
/
cycles
/
{cycleId}
/
movements
/
{movementId}
/
unlock
Unlock a manually locked movement (not auto-locked ones) Request body: { "rea...
curl --request PUT \
  --url http://localhost:3000/api/v1/flocks/{flockId}/cycles/{cycleId}/movements/{movementId}/unlock \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "<string>"
}
'
{
  "message": "<string>",
  "data": {}
}

Authorizations

Authorization
string
header
required

JWT obtained from POST /api/v1/auth/login.

Path Parameters

flockId
string
required

flockId identifier

cycleId
string
required

cycleId identifier

movementId
string
required

movementId identifier

Body

application/json
reason
string

reason — see API source for exact type.

Response

OK

message
string
data
object